<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login Failed</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .container {
            background-color: #ffffff;
            border-radius: 10px;
            box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
            padding: 40px;
            text-align: center;
            width: 300px;
        }
        h1 {
            color: #ff6347;
        }
        p {
            color: #666666;
            margin-top: 20px;
        }
        a {
            color: #0066cc;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1><%= msg%></h1>
        <p>Sorry, your login attempt was unsuccessful.</p>
        <p>Please <a href="<%= url%>">try again</a> or contact support.</p>
    </div>
    <script>
        // 在页面加载后延时2秒跳转到仪表盘页面
        setTimeout(function() {
            window.location.href = "<%= url%>"; // 替换"/dashboard"为你的目标页面路径
        }, 1500);
    </script>
</body>
</html>
